package com.linkai.onlinetool.entity;

import java.util.Date;
import java.io.Serializable;

/**
 * (Answer)实体类
 *
 * @author 林凯
 * @since 2021-03-12 11:38:55
 */
public class Answer implements Serializable {
    private static final long serialVersionUID = -74332127329999928L;
    /**
    * 答案id
    */
    private Integer aId;
    /**
    * 答案内容
    */
    private String aContent;
    /**
    * 答案对应问题的id
    */
    private Integer qId;
    /**
    * 是否是正确答案，1表示是，0表示不是
    */
    private Integer isTrue;
    /**
    * 创建时间
    */
    private Date gmtCreate;
    /**
    * 修改时间
    */
    private Date gmtModified;

    @Override
    public String toString() {
        return "Answer{" +
                "aId=" + aId +
                ", aContent='" + aContent + '\'' +
                ", qId=" + qId +
                ", isTrue=" + isTrue +
                ", gmtCreate=" + gmtCreate +
                ", gmtModified=" + gmtModified +
                '}';
    }

    public Answer() {
    }

    public Answer(Integer aId, String aContent, Integer qId, Integer isTrue, Date gmtCreate, Date gmtModified) {
        this.aId = aId;
        this.aContent = aContent;
        this.qId = qId;
        this.isTrue = isTrue;
        this.gmtCreate = gmtCreate;
        this.gmtModified = gmtModified;
    }

    public Integer getAId() {
        return aId;
    }

    public void setAId(Integer aId) {
        this.aId = aId;
    }

    public String getAContent() {
        return aContent;
    }

    public void setAContent(String aContent) {
        this.aContent = aContent;
    }

    public Integer getQId() {
        return qId;
    }

    public void setQId(Integer qId) {
        this.qId = qId;
    }

    public Integer getIsTrue() {
        return isTrue;
    }

    public void setIsTrue(Integer isTrue) {
        this.isTrue = isTrue;
    }

    public Date getGmtCreate() {
        return gmtCreate;
    }

    public void setGmtCreate(Date gmtCreate) {
        this.gmtCreate = gmtCreate;
    }

    public Date getGmtModified() {
        return gmtModified;
    }

    public void setGmtModified(Date gmtModified) {
        this.gmtModified = gmtModified;
    }

}